﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMSmanagement.IBaseService.Sale.DTO;

namespace WMSmanagement.IBaseService.Transfer.DTO
{
    public class AddTransferDTO
    {
        /// <summary>
        /// 移库单号
        /// </summary>
        [MaxLength(40)]
        public string TransferCode { get; set; }
        /// <summary>
        /// 移库单类型
        /// </summary>
        [MaxLength(10)]

        public string TransferType { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        [MaxLength(10)]

        public string Maker { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime MakeTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(100)]

        public string Remark { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        public string idsString {  get; set; }
        public List<Buyids>? ids { get; set; }
    }
    public class UpdateTransferDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 移库单号
        /// </summary>
        [MaxLength(40)]
        public string TransferCode { get; set; }
        /// <summary>
        /// 移库单类型
        /// </summary>
        [MaxLength(10)]

        public string TransferType { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        [MaxLength(10)]

        public string Maker { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime MakeTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(100)]

        public string Remark { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        public string idsString { get; set; }
        public List<Buyids>? ids { get; set; }
    }
}
